package com.telit.dispose.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;


/**
 * 防火资源分类实体类
 *
 * @author yuezhuang
 * @date 2022-08-29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "FireResourceCategory", description = "防火资源分类")
public class FireResourceCategory {

    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createdAt;

    @ApiModelProperty(value = "创建人", required = true)
    private Long createdBy;

    @ApiModelProperty(value = "修改时间", required = true)
    private Date updatedAt;

    @ApiModelProperty(value = "修改人", required = true)
    private Long updatedBy;

    @ApiModelProperty(value = "逻辑删除标记", required = true, allowableValues = "true,false", hidden = true)
    private boolean deleted;

    @ApiModelProperty(value = "版本号", required = true)
    private Long version;

    @ApiModelProperty(value = "分类名称", required = true)
    private String catName;

    @ApiModelProperty(value = "排序编号", required = true)
    private Integer sortNum;

    @ApiModelProperty(value = "父类id", required = true)
    private Long parentId;

    @ApiModelProperty(value = "父类名称")
    private String parentName;

    @ApiModelProperty(value = "资源图片地址")
    private String img;

    @ApiModelProperty(value = "地图图标地址（应产品要求）")
    private String iconImg;

}
